package com.xiaozhou.service;

import com.xiaozhou.pojo.dto.Stock4EvrDayDomain;
import com.xiaozhou.pojo.dto.Stock4MinuteDomain;
import com.xiaozhou.pojo.dto.StockUpdownDomain;
import com.xiaozhou.pojo.vo.StockBlockRtInfoVo;
import com.xiaozhou.pojo.vo.StockData;
import com.xiaozhou.pojo.vo.StockInfo;
import com.xiaozhou.pojo.vo.StockMarketIndexInfoVo;
import com.xiaozhou.result.PageResult;
import com.xiaozhou.result.Result;

import java.util.List;
import java.util.Map;

/**
 * CTassName: StockMarketIndexService
 * Package: com.xiaozhou.service
 * Description:
 * 国内⼤盘指数功能
 */
public interface StockMarketIndexService {

    /**
     * 大盘板块
     * 国内⼤盘指数功能
     */
    List<StockMarketIndexInfoVo> getalldata();

    /**
     * 板块指数功能实现
     * */
    List<StockBlockRtInfoVo> sectorAllLimit();

    /**
     * 涨幅榜更多数据功能实现
     */
    Result<PageResult<StockUpdownDomain>> getPageStockInfos(Integer page, Integer pageSize);

    /**
     * 涨幅榜功能实现
     */
    List<StockInfo> getIncrease();

    /**
     * 涨停跌停数据统计功能
     * */
    StockData getUpdownCount();

    /**
     * 股票成交量对⽐功能
     */
    Result<Map<String, List>> getTradeAmt();


    /**
     * 个股分时涨跌幅度统计功能
     */
    Result<Map> stockUpdown();

    /**
     * 个股分时图行情功能
     */
    Result<List<Stock4MinuteDomain>> stockScreenTimeSharing(String code);

    /**
     * 股票K线图功能
     * */
    Result<List<Stock4EvrDayDomain>> stockCreenDkLine(String stockCode);
}
